<?php namespace app\common\service;
use  \app\common\model\OpusDetails as OpusDetailsModel;
use think\Exception;

/**
 * Class OpusDetails
 * @package app\common\service
 */
class OpusDetails extends Base{
    /**
     * OpusDetails constructor.
     */
    public function __construct()
    {
        parent::__construct();
        $OpusDetailsModel= new OpusDetailsModel();
        $this->model = $OpusDetailsModel;
    }

    public function getList($where, $page, $limit=10){
        try{
            $data=$this->paginatet($where,'*','weigh',$limit,$page,'');

        }catch (\Exception $e){
            $data=[];
        }
        return $data;
    }


}